package com.frxuexi.park

import com.frxuexi.lib_base.entity.ParkBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class ParkIntent:IUiIntent {
    data class getParksByType(val type:String):ParkIntent()

    data class deletePark(val id:Int):ParkIntent()

    data class getParksByArea(val area:Int):ParkIntent()

    data class getParksByCarNo(val carNo:String):ParkIntent()
    data class getParksByStatus(val status:String):ParkIntent()

    data class addPark(val item:ParkBeanItem):ParkIntent()

    data class getParkById(val id:Int):ParkIntent()

    data class updatePark(val id:Int,val item: ParkBeanItem):ParkIntent()

    data class updateParkStatus(val id:Int,val status:String):ParkIntent()
}